import Vue from 'vue'
import App from './App.vue'
//导入路由模块，拿到实例对象
import router from './router'

import axios from 'axios'
import ElementUI from 'element-ui' //引入element-ui

//导入 element ui 组件样式
import 'element-ui/lib/theme-chalk/index.css'

//把 ElementUI 注册为 vue 的插件
Vue.use(ElementUI)

Vue.component('axios', axios)

Vue.config.productionTip = false

//挂载 axios
Vue.prototype.axios = axios

a=


new Vue({
  render: h => h(App),

  //挂载路由的实例对象
  router: router
}).$mount('#app')
